package com.auth.service;

import com.common.model.po.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {

    int addUser(SysUser user);

    SysUser findUserByName(String username);

    List<SysUser> findAll();

    SysUser register(SysUser user);
}
